package com.baima46.model;

import lombok.Data;

/**
 * 自定义excel表头单元格 配置类
 * @author yuan cong
 */
@Data
public class HeaderCell{
    /**
     * 表头单元格名称
     */
    private String name;
    /**
     * 单元格开始行
     */
    private int firstRow;
    /**
     * 单元格结束行
     */
    private int lastRow;
    /**
     * 单元格开始列
     */
    private int firstColumn;
    /**
     * 单元格结束列
     */
    private int lastColumn;



    public HeaderCell(){}

    public HeaderCell(String name, int firstRow, int lastRow, int firstColumn, int lastColumn) {
        this.name = name;
        this.firstRow = firstRow;
        this.lastRow = lastRow;
        this.firstColumn = firstColumn;
        this.lastColumn = lastColumn;
    }
}